<!-- 我的表格 -->

<template>
  <WebTable>
    <RowIndex />

    <RowTitle label="点位编号" bind="pointCode" />

    <RowText label="点位名称" bind="pointName" />

    <RowDict label="点位类型" bind="pointTypeCode, pointTypeName" :dict="type_selectDict" />

    <RowText label="第三方 ID" bind="thirdCode" />

    <RowText label="所属控制器" bind="deviceName" :minWidth="120" />

    <RowTree
      :label="`所在${CORE.MAP.REGION}`"
      bind="areaId, areaName"
      :dict="CORE.REGION.DICT"
      allName
      :minWidth="120"
    />

    <RowStatus label="点位状态" bind="pointStatus" />

    <RowOperate :btns="['show']" :width="80" :onShow="map_openModal" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MyTable from '@admin/views/Secure/Access/AccessList/MyTable'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyTable, {
  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [...MyTable.mixins, CORE.mixSelect('type', 'type_')],
})
</script>
